package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjFactoryAccountBalance;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * <p>
 * 厂商账户余额表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-02-27
 */
@Repository
public interface ZjFactoryAccountBalanceMapper extends BaseMapper<ZjFactoryAccountBalance> {

    /**
     * 增加冻结品牌商家费用
     * @param id 品牌商家ID
     * @param freezePrice 冻结的费用
     */
    void updateFreezePriceById(@Param("id") Long id, @Param("freezePrice") BigDecimal freezePrice);

}
